package com.nchu.student_score.mapper;

import com.nchu.student_score.dataObject.GradeResult;
import com.nchu.student_score.model.GradeTemp;
import java.util.List;

public interface GradeTempMapper {
    int deleteByPrimaryKey(String gradeTempId);

    int insert(GradeTemp record);

    GradeTemp selectByPrimaryKey(String gradeTempId);

    List<GradeTemp> selectAll();

    int updateByPrimaryKey(GradeTemp record);

    void insertAll(List<GradeTemp> record);

    List<GradeTemp> selectByTeachIdAndClazz(GradeTemp record);

    void updateByTeachIdAndStuId(GradeTemp record);

    List<GradeTemp> selectByTeachId(String record);

    GradeTemp selectByTaskIdAndStuId(GradeResult record);

    List<GradeTemp> selectByStuId(Integer record);
}